# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'MainWindow.ui'
#
# Created: Tue Jun 03 16:47:21 2014
#      by: PyQt4 UI code generator 4.10.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(800, 600)
        MainWindow.setMinimumSize(QtCore.QSize(800, 600))
        font = QtGui.QFont()
        font.setPointSize(10)
        MainWindow.setFont(font)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8("images/icon1.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        MainWindow.setWindowIcon(icon)
        MainWindow.setIconSize(QtCore.QSize(24, 24))
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.verticalLayout = QtGui.QVBoxLayout(self.centralwidget)
        self.verticalLayout.setMargin(3)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.tabWidget = QtGui.QTabWidget(self.centralwidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(False)
        font.setWeight(50)
        self.tabWidget.setFont(font)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabDiagrama = QtGui.QWidget()
        self.tabDiagrama.setObjectName(_fromUtf8("tabDiagrama"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.tabDiagrama)
        self.verticalLayout_3.setSpacing(1)
        self.verticalLayout_3.setMargin(1)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.frameEntradas = QtGui.QFrame(self.tabDiagrama)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frameEntradas.sizePolicy().hasHeightForWidth())
        self.frameEntradas.setSizePolicy(sizePolicy)
        self.frameEntradas.setMinimumSize(QtCore.QSize(0, 130))
        self.frameEntradas.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frameEntradas.setFrameShadow(QtGui.QFrame.Raised)
        self.frameEntradas.setObjectName(_fromUtf8("frameEntradas"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout(self.frameEntradas)
        self.horizontalLayout_4.setSpacing(4)
        self.horizontalLayout_4.setMargin(1)
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.groupBoxRt = QtGui.QGroupBox(self.frameEntradas)
        self.groupBoxRt.setMinimumSize(QtCore.QSize(220, 0))
        self.groupBoxRt.setMaximumSize(QtCore.QSize(250, 16777215))
        self.groupBoxRt.setObjectName(_fromUtf8("groupBoxRt"))
        self.gridLayout_4 = QtGui.QGridLayout(self.groupBoxRt)
        self.gridLayout_4.setMargin(4)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.labelRvalue = QtGui.QLabel(self.groupBoxRt)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.labelRvalue.sizePolicy().hasHeightForWidth())
        self.labelRvalue.setSizePolicy(sizePolicy)
        self.labelRvalue.setMinimumSize(QtCore.QSize(70, 0))
        self.labelRvalue.setMaximumSize(QtCore.QSize(70, 25))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.labelRvalue.setFont(font)
        self.labelRvalue.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.labelRvalue.setObjectName(_fromUtf8("labelRvalue"))
        self.gridLayout_4.addWidget(self.labelRvalue, 0, 0, 1, 1)
        self.lineEditRvalue = QtGui.QLineEdit(self.groupBoxRt)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEditRvalue.sizePolicy().hasHeightForWidth())
        self.lineEditRvalue.setSizePolicy(sizePolicy)
        self.lineEditRvalue.setMinimumSize(QtCore.QSize(0, 25))
        self.lineEditRvalue.setMaximumSize(QtCore.QSize(16777215, 35))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.lineEditRvalue.setFont(font)
        self.lineEditRvalue.setText(_fromUtf8("1"))
        self.lineEditRvalue.setObjectName(_fromUtf8("lineEditRvalue"))
        self.gridLayout_4.addWidget(self.lineEditRvalue, 0, 1, 1, 1)
        self.labelRtime = QtGui.QLabel(self.groupBoxRt)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.labelRtime.sizePolicy().hasHeightForWidth())
        self.labelRtime.setSizePolicy(sizePolicy)
        self.labelRtime.setMinimumSize(QtCore.QSize(70, 0))
        self.labelRtime.setMaximumSize(QtCore.QSize(70, 25))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.labelRtime.setFont(font)
        self.labelRtime.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.labelRtime.setObjectName(_fromUtf8("labelRtime"))
        self.gridLayout_4.addWidget(self.labelRtime, 1, 0, 1, 1)
        self.doubleSpinBoxRtime = QtGui.QDoubleSpinBox(self.groupBoxRt)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.doubleSpinBoxRtime.sizePolicy().hasHeightForWidth())
        self.doubleSpinBoxRtime.setSizePolicy(sizePolicy)
        self.doubleSpinBoxRtime.setMinimumSize(QtCore.QSize(0, 25))
        self.doubleSpinBoxRtime.setMaximumSize(QtCore.QSize(16777215, 35))
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(False)
        font.setWeight(50)
        self.doubleSpinBoxRtime.setFont(font)
        self.doubleSpinBoxRtime.setMinimum(0.0)
        self.doubleSpinBoxRtime.setMaximum(2000.0)
        self.doubleSpinBoxRtime.setProperty("value", 0.0)
        self.doubleSpinBoxRtime.setObjectName(_fromUtf8("doubleSpinBoxRtime"))
        self.gridLayout_4.addWidget(self.doubleSpinBoxRtime, 1, 1, 1, 1)
        self.labelRnoise = QtGui.QLabel(self.groupBoxRt)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.labelRnoise.sizePolicy().hasHeightForWidth())
        self.labelRnoise.setSizePolicy(sizePolicy)
        self.labelRnoise.setMinimumSize(QtCore.QSize(70, 0))
        self.labelRnoise.setMaximumSize(QtCore.QSize(70, 25))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.labelRnoise.setFont(font)
        self.labelRnoise.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.labelRnoise.setObjectName(_fromUtf8("labelRnoise"))
        self.gridLayout_4.addWidget(self.labelRnoise, 2, 0, 1, 1)
        self.doubleSpinBoxRnoise = QtGui.QDoubleSpinBox(self.groupBoxRt)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.doubleSpinBoxRnoise.sizePolicy().hasHeightForWidth())
        self.doubleSpinBoxRnoise.setSizePolicy(sizePolicy)
        self.doubleSpinBoxRnoise.setMinimumSize(QtCore.QSize(0, 25))
        self.doubleSpinBoxRnoise.setMaximumSize(QtCore.QSize(16777215, 35))
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(False)
        font.setWeight(50)
        self.doubleSpinBoxRnoise.setFont(font)
        self.doubleSpinBoxRnoise.setDecimals(3)
        self.doubleSpinBoxRnoise.setMinimum(0.0)
        self.doubleSpinBoxRnoise.setMaximum(10.0)
        self.doubleSpinBoxRnoise.setSingleStep(0.005)
        self.doubleSpinBoxRnoise.setProperty("value", 0.0)
        self.doubleSpinBoxRnoise.setObjectName(_fromUtf8("doubleSpinBoxRnoise"))
        self.gridLayout_4.addWidget(self.doubleSpinBoxRnoise, 2, 1, 1, 1)
        self.horizontalLayout_4.addWidget(self.groupBoxRt)
        self.groupBoxWt = QtGui.QGroupBox(self.frameEntradas)
        self.groupBoxWt.setMinimumSize(QtCore.QSize(220, 0))
        self.groupBoxWt.setMaximumSize(QtCore.QSize(250, 16777215))
        self.groupBoxWt.setCheckable(True)
        self.groupBoxWt.setChecked(False)
        self.groupBoxWt.setObjectName(_fromUtf8("groupBoxWt"))
        self.gridLayout_5 = QtGui.QGridLayout(self.groupBoxWt)
        self.gridLayout_5.setMargin(4)
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.labelWvalue = QtGui.QLabel(self.groupBoxWt)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.labelWvalue.sizePolicy().hasHeightForWidth())
        self.labelWvalue.setSizePolicy(sizePolicy)
        self.labelWvalue.setMinimumSize(QtCore.QSize(70, 25))
        self.labelWvalue.setMaximumSize(QtCore.QSize(70, 25))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.labelWvalue.setFont(font)
        self.labelWvalue.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.labelWvalue.setObjectName(_fromUtf8("labelWvalue"))
        self.gridLayout_5.addWidget(self.labelWvalue, 0, 0, 1, 1)
        self.lineEditWvalue = QtGui.QLineEdit(self.groupBoxWt)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEditWvalue.sizePolicy().hasHeightForWidth())
        self.lineEditWvalue.setSizePolicy(sizePolicy)
        self.lineEditWvalue.setMinimumSize(QtCore.QSize(0, 25))
        self.lineEditWvalue.setMaximumSize(QtCore.QSize(16777215, 35))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.lineEditWvalue.setFont(font)
        self.lineEditWvalue.setText(_fromUtf8("1"))
        self.lineEditWvalue.setObjectName(_fromUtf8("lineEditWvalue"))
        self.gridLayout_5.addWidget(self.lineEditWvalue, 0, 1, 1, 1)
        self.labelWtime = QtGui.QLabel(self.groupBoxWt)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.labelWtime.sizePolicy().hasHeightForWidth())
        self.labelWtime.setSizePolicy(sizePolicy)
        self.labelWtime.setMinimumSize(QtCore.QSize(70, 25))
        self.labelWtime.setMaximumSize(QtCore.QSize(70, 25))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.labelWtime.setFont(font)
        self.labelWtime.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.labelWtime.setObjectName(_fromUtf8("labelWtime"))
        self.gridLayout_5.addWidget(self.labelWtime, 1, 0, 1, 1)
        self.doubleSpinBoxWtime = QtGui.QDoubleSpinBox(self.groupBoxWt)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.doubleSpinBoxWtime.sizePolicy().hasHeightForWidth())
        self.doubleSpinBoxWtime.setSizePolicy(sizePolicy)
        self.doubleSpinBoxWtime.setMinimumSize(QtCore.QSize(0, 25))
        self.doubleSpinBoxWtime.setMaximumSize(QtCore.QSize(16777215, 35))
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(False)
        font.setWeight(50)
        self.doubleSpinBoxWtime.setFont(font)
        self.doubleSpinBoxWtime.setMinimum(0.0)
        self.doubleSpinBoxWtime.setMaximum(2000.0)
        self.doubleSpinBoxWtime.setProperty("value", 0.0)
        self.doubleSpinBoxWtime.setObjectName(_fromUtf8("doubleSpinBoxWtime"))
        self.gridLayout_5.addWidget(self.doubleSpinBoxWtime, 1, 1, 1, 1)
        self.labelWnoise = QtGui.QLabel(self.groupBoxWt)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.labelWnoise.sizePolicy().hasHeightForWidth())
        self.labelWnoise.setSizePolicy(sizePolicy)
        self.labelWnoise.setMinimumSize(QtCore.QSize(70, 25))
        self.labelWnoise.setMaximumSize(QtCore.QSize(70, 25))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.labelWnoise.setFont(font)
        self.labelWnoise.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.labelWnoise.setObjectName(_fromUtf8("labelWnoise"))
        self.gridLayout_5.addWidget(self.labelWnoise, 2, 0, 1, 1)
        self.doubleSpinBoxWnoise = QtGui.QDoubleSpinBox(self.groupBoxWt)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.doubleSpinBoxWnoise.sizePolicy().hasHeightForWidth())
        self.doubleSpinBoxWnoise.setSizePolicy(sizePolicy)
        self.doubleSpinBoxWnoise.setMinimumSize(QtCore.QSize(0, 25))
        self.doubleSpinBoxWnoise.setMaximumSize(QtCore.QSize(16777215, 35))
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(False)
        font.setWeight(50)
        self.doubleSpinBoxWnoise.setFont(font)
        self.doubleSpinBoxWnoise.setDecimals(3)
        self.doubleSpinBoxWnoise.setMinimum(0.0)
        self.doubleSpinBoxWnoise.setMaximum(10.0)
        self.doubleSpinBoxWnoise.setSingleStep(0.005)
        self.doubleSpinBoxWnoise.setProperty("value", 0.0)
        self.doubleSpinBoxWnoise.setObjectName(_fromUtf8("doubleSpinBoxWnoise"))
        self.gridLayout_5.addWidget(self.doubleSpinBoxWnoise, 2, 1, 1, 1)
        self.horizontalLayout_4.addWidget(self.groupBoxWt)
        spacerItem = QtGui.QSpacerItem(98, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem)
        self.comboBoxSys = QtGui.QComboBox(self.frameEntradas)
        self.comboBoxSys.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToContents)
        self.comboBoxSys.setObjectName(_fromUtf8("comboBoxSys"))
        self.comboBoxSys.addItem(_fromUtf8(""))
        self.comboBoxSys.addItem(_fromUtf8(""))
        self.comboBoxSys.addItem(_fromUtf8(""))
        self.comboBoxSys.addItem(_fromUtf8(""))
        self.comboBoxSys.addItem(_fromUtf8(""))
        self.horizontalLayout_4.addWidget(self.comboBoxSys)
        self.verticalLayout_3.addWidget(self.frameEntradas)
        self.graphicsView = QtGui.QGraphicsView(self.tabDiagrama)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.graphicsView.sizePolicy().hasHeightForWidth())
        self.graphicsView.setSizePolicy(sizePolicy)
        self.graphicsView.setMinimumSize(QtCore.QSize(220, 260))
        self.graphicsView.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.graphicsView.setObjectName(_fromUtf8("graphicsView"))
        self.verticalLayout_3.addWidget(self.graphicsView)
        self.frameSis = QtGui.QFrame(self.tabDiagrama)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frameSis.sizePolicy().hasHeightForWidth())
        self.frameSis.setSizePolicy(sizePolicy)
        self.frameSis.setMinimumSize(QtCore.QSize(0, 100))
        self.frameSis.setMaximumSize(QtCore.QSize(16777215, 120))
        self.frameSis.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frameSis.setFrameShadow(QtGui.QFrame.Raised)
        self.frameSis.setObjectName(_fromUtf8("frameSis"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.frameSis)
        self.horizontalLayout.setMargin(1)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.groupBoxMalha = QtGui.QGroupBox(self.frameSis)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.groupBoxMalha.setFont(font)
        self.groupBoxMalha.setObjectName(_fromUtf8("groupBoxMalha"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.groupBoxMalha)
        self.verticalLayout_4.setContentsMargins(4, 2, 4, 4)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.radioBtnOpen = QtGui.QRadioButton(self.groupBoxMalha)
        font = QtGui.QFont()
        font.setPointSize(12)
        self.radioBtnOpen.setFont(font)
        self.radioBtnOpen.setChecked(True)
        self.radioBtnOpen.setAutoExclusive(True)
        self.radioBtnOpen.setObjectName(_fromUtf8("radioBtnOpen"))
        self.verticalLayout_4.addWidget(self.radioBtnOpen)
        self.radioBtnClose = QtGui.QRadioButton(self.groupBoxMalha)
        font = QtGui.QFont()
        font.setPointSize(12)
        self.radioBtnClose.setFont(font)
        self.radioBtnClose.setObjectName(_fromUtf8("radioBtnClose"))
        self.verticalLayout_4.addWidget(self.radioBtnClose)
        self.horizontalLayout.addWidget(self.groupBoxMalha)
        self.groupBoxK = QtGui.QGroupBox(self.frameSis)
        self.groupBoxK.setMinimumSize(QtCore.QSize(80, 0))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.groupBoxK.setFont(font)
        self.groupBoxK.setStyleSheet(_fromUtf8("QGroupBox {border-width: 2px; border-style: solid;\n"
"border-color: rgb(255, 170, 170);\n"
"border-radius: 5px;}\n"
"QGroupBox::title {\n"
"     background-color: transparent;\n"
"     subcontrol-origin: border;\n"
"     subcontrol-position: top left; /* position at the top center */\n"
"     padding: 0 10px;\n"
" }"))
        self.groupBoxK.setObjectName(_fromUtf8("groupBoxK"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.groupBoxK)
        self.verticalLayout_5.setContentsMargins(1, 4, 1, 4)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_5.addItem(spacerItem1)
        self.labelK = QtGui.QLabel(self.groupBoxK)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.labelK.sizePolicy().hasHeightForWidth())
        self.labelK.setSizePolicy(sizePolicy)
        self.labelK.setMinimumSize(QtCore.QSize(0, 20))
        self.labelK.setMaximumSize(QtCore.QSize(200, 20))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.labelK.setFont(font)
        self.labelK.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.labelK.setText(_fromUtf8("K:"))
        self.labelK.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignHCenter)
        self.labelK.setObjectName(_fromUtf8("labelK"))
        self.verticalLayout_5.addWidget(self.labelK)
        self.doubleSpinBoxK = QtGui.QDoubleSpinBox(self.groupBoxK)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.doubleSpinBoxK.sizePolicy().hasHeightForWidth())
        self.doubleSpinBoxK.setSizePolicy(sizePolicy)
        self.doubleSpinBoxK.setMinimumSize(QtCore.QSize(0, 25))
        self.doubleSpinBoxK.setMaximumSize(QtCore.QSize(16777215, 35))
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(False)
        font.setWeight(50)
        self.doubleSpinBoxK.setFont(font)
        self.doubleSpinBoxK.setMinimum(-200.0)
        self.doubleSpinBoxK.setMaximum(200.0)
        self.doubleSpinBoxK.setProperty("value", 1.0)
        self.doubleSpinBoxK.setObjectName(_fromUtf8("doubleSpinBoxK"))
        self.verticalLayout_5.addWidget(self.doubleSpinBoxK)
        spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_5.addItem(spacerItem2)
        self.horizontalLayout.addWidget(self.groupBoxK)
        self.groupBoxC = QtGui.QGroupBox(self.frameSis)
        self.groupBoxC.setEnabled(False)
        self.groupBoxC.setMinimumSize(QtCore.QSize(150, 0))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.groupBoxC.setFont(font)
        self.groupBoxC.setStyleSheet(_fromUtf8("QGroupBox {border-width: 2px; border-style: solid;\n"
"border-color: rgb(175, 198, 233);\n"
"border-radius: 5px;}\n"
"QGroupBox::title {\n"
"     background-color: transparent;\n"
"     subcontrol-origin: border;\n"
"     subcontrol-position: top left; /* position at the top center */\n"
"     padding: 0 10px;\n"
" }"))
        self.groupBoxC.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
        self.groupBoxC.setCheckable(True)
        self.groupBoxC.setChecked(False)
        self.groupBoxC.setObjectName(_fromUtf8("groupBoxC"))
        self.gridLayout = QtGui.QGridLayout(self.groupBoxC)
        self.gridLayout.setContentsMargins(4, 4, 4, 0)
        self.gridLayout.setVerticalSpacing(1)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.labelCnum = QtGui.QLabel(self.groupBoxC)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.labelCnum.sizePolicy().hasHeightForWidth())
        self.labelCnum.setSizePolicy(sizePolicy)
        self.labelCnum.setMinimumSize(QtCore.QSize(40, 0))
        self.labelCnum.setMaximumSize(QtCore.QSize(40, 16777215))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.labelCnum.setFont(font)
        self.labelCnum.setObjectName(_fromUtf8("labelCnum"))
        self.gridLayout.addWidget(self.labelCnum, 1, 0, 1, 1)
        self.lineEditCnum = QtGui.QLineEdit(self.groupBoxC)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEditCnum.sizePolicy().hasHeightForWidth())
        self.lineEditCnum.setSizePolicy(sizePolicy)
        self.lineEditCnum.setMinimumSize(QtCore.QSize(0, 25))
        self.lineEditCnum.setMaximumSize(QtCore.QSize(16777215, 35))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.lineEditCnum.setFont(font)
        self.lineEditCnum.setText(_fromUtf8("1"))
        self.lineEditCnum.setObjectName(_fromUtf8("lineEditCnum"))
        self.gridLayout.addWidget(self.lineEditCnum, 1, 1, 1, 1)
        self.labelCden = QtGui.QLabel(self.groupBoxC)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.labelCden.sizePolicy().hasHeightForWidth())
        self.labelCden.setSizePolicy(sizePolicy)
        self.labelCden.setMinimumSize(QtCore.QSize(40, 0))
        self.labelCden.setMaximumSize(QtCore.QSize(40, 16777215))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.labelCden.setFont(font)
        self.labelCden.setObjectName(_fromUtf8("labelCden"))
        self.gridLayout.addWidget(self.labelCden, 3, 0, 1, 1)
        self.lineEditCden = QtGui.QLineEdit(self.groupBoxC)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEditCden.sizePolicy().hasHeightForWidth())
        self.lineEditCden.setSizePolicy(sizePolicy)
        self.lineEditCden.setMinimumSize(QtCore.QSize(0, 25))
        self.lineEditCden.setMaximumSize(QtCore.QSize(16777215, 35))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.lineEditCden.setFont(font)
        self.lineEditCden.setText(_fromUtf8("1"))
        self.lineEditCden.setObjectName(_fromUtf8("lineEditCden"))
        self.gridLayout.addWidget(self.lineEditCden, 3, 1, 1, 1)
        spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem3, 4, 1, 1, 1)
        spacerItem4 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem4, 0, 1, 1, 1)
        spacerItem5 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem5, 2, 1, 1, 1)
        self.horizontalLayout.addWidget(self.groupBoxC)
        self.groupBoxG = QtGui.QGroupBox(self.frameSis)
        self.groupBoxG.setMinimumSize(QtCore.QSize(200, 0))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.groupBoxG.setFont(font)
        self.groupBoxG.setStyleSheet(_fromUtf8("QGroupBox {border-width: 2px; border-style: solid;\n"
"border-color: rgb(95, 211, 141);\n"
"border-radius: 5px;}\n"
"QGroupBox::title {\n"
"     background-color: transparent;\n"
"     subcontrol-origin: border;\n"
"     subcontrol-position: top left; /* position at the top center */\n"
"     padding: 0 10px;\n"
" }"))
        self.groupBoxG.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
        self.groupBoxG.setCheckable(True)
        self.groupBoxG.setObjectName(_fromUtf8("groupBoxG"))
        self.gridLayout_2 = QtGui.QGridLayout(self.groupBoxG)
        self.gridLayout_2.setContentsMargins(4, 4, 4, 0)
        self.gridLayout_2.setVerticalSpacing(1)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.labelGnum = QtGui.QLabel(self.groupBoxG)
        self.labelGnum.setMinimumSize(QtCore.QSize(40, 0))
        self.labelGnum.setMaximumSize(QtCore.QSize(40, 16777215))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.labelGnum.setFont(font)
        self.labelGnum.setText(_fromUtf8("Num:"))
        self.labelGnum.setObjectName(_fromUtf8("labelGnum"))
        self.gridLayout_2.addWidget(self.labelGnum, 1, 0, 1, 1)
        self.lineEditGnum = QtGui.QLineEdit(self.groupBoxG)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEditGnum.sizePolicy().hasHeightForWidth())
        self.lineEditGnum.setSizePolicy(sizePolicy)
        self.lineEditGnum.setMinimumSize(QtCore.QSize(0, 25))
        self.lineEditGnum.setMaximumSize(QtCore.QSize(16777215, 35))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.lineEditGnum.setFont(font)
        self.lineEditGnum.setText(_fromUtf8("2*s+10"))
        self.lineEditGnum.setObjectName(_fromUtf8("lineEditGnum"))
        self.gridLayout_2.addWidget(self.lineEditGnum, 1, 1, 1, 1)
        self.labelGden = QtGui.QLabel(self.groupBoxG)
        self.labelGden.setMinimumSize(QtCore.QSize(40, 0))
        self.labelGden.setMaximumSize(QtCore.QSize(40, 16777215))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.labelGden.setFont(font)
        self.labelGden.setText(_fromUtf8("Den:"))
        self.labelGden.setObjectName(_fromUtf8("labelGden"))
        self.gridLayout_2.addWidget(self.labelGden, 3, 0, 1, 1)
        self.lineEditGden = QtGui.QLineEdit(self.groupBoxG)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEditGden.sizePolicy().hasHeightForWidth())
        self.lineEditGden.setSizePolicy(sizePolicy)
        self.lineEditGden.setMinimumSize(QtCore.QSize(0, 25))
        self.lineEditGden.setMaximumSize(QtCore.QSize(16777215, 35))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.lineEditGden.setFont(font)
        self.lineEditGden.setText(_fromUtf8("1*s^2+2*s+10"))
        self.lineEditGden.setObjectName(_fromUtf8("lineEditGden"))
        self.gridLayout_2.addWidget(self.lineEditGden, 3, 1, 1, 1)
        spacerItem6 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem6, 4, 1, 1, 1)
        spacerItem7 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem7, 0, 1, 1, 1)
        spacerItem8 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem8, 2, 1, 1, 1)
        self.horizontalLayout.addWidget(self.groupBoxG)
        self.groupBoxH = QtGui.QGroupBox(self.frameSis)
        self.groupBoxH.setMinimumSize(QtCore.QSize(150, 0))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.groupBoxH.setFont(font)
        self.groupBoxH.setStyleSheet(_fromUtf8("QGroupBox {border-width: 2px; border-style: solid;\n"
"border-color: rgb(255, 246, 136);\n"
"border-radius: 5px;}\n"
"QGroupBox::title {\n"
"     background-color: transparent;\n"
"     subcontrol-origin: border;\n"
"     subcontrol-position: top left; /* position at the top center */\n"
"     padding: 0 10px;\n"
" }"))
        self.groupBoxH.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
        self.groupBoxH.setCheckable(True)
        self.groupBoxH.setChecked(False)
        self.groupBoxH.setObjectName(_fromUtf8("groupBoxH"))
        self.gridLayout_3 = QtGui.QGridLayout(self.groupBoxH)
        self.gridLayout_3.setContentsMargins(4, 4, 4, 0)
        self.gridLayout_3.setVerticalSpacing(1)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.labelHnum = QtGui.QLabel(self.groupBoxH)
        self.labelHnum.setMinimumSize(QtCore.QSize(40, 0))
        self.labelHnum.setMaximumSize(QtCore.QSize(40, 16777215))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.labelHnum.setFont(font)
        self.labelHnum.setText(_fromUtf8("Num:"))
        self.labelHnum.setObjectName(_fromUtf8("labelHnum"))
        self.gridLayout_3.addWidget(self.labelHnum, 1, 0, 1, 1)
        self.lineEditHnum = QtGui.QLineEdit(self.groupBoxH)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEditHnum.sizePolicy().hasHeightForWidth())
        self.lineEditHnum.setSizePolicy(sizePolicy)
        self.lineEditHnum.setMinimumSize(QtCore.QSize(0, 25))
        self.lineEditHnum.setMaximumSize(QtCore.QSize(16777215, 35))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.lineEditHnum.setFont(font)
        self.lineEditHnum.setText(_fromUtf8("1"))
        self.lineEditHnum.setObjectName(_fromUtf8("lineEditHnum"))
        self.gridLayout_3.addWidget(self.lineEditHnum, 1, 1, 1, 1)
        self.labelHden = QtGui.QLabel(self.groupBoxH)
        self.labelHden.setMinimumSize(QtCore.QSize(40, 0))
        self.labelHden.setMaximumSize(QtCore.QSize(40, 16777215))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.labelHden.setFont(font)
        self.labelHden.setText(_fromUtf8("Den:"))
        self.labelHden.setObjectName(_fromUtf8("labelHden"))
        self.gridLayout_3.addWidget(self.labelHden, 3, 0, 1, 1)
        self.lineEditHden = QtGui.QLineEdit(self.groupBoxH)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEditHden.sizePolicy().hasHeightForWidth())
        self.lineEditHden.setSizePolicy(sizePolicy)
        self.lineEditHden.setMinimumSize(QtCore.QSize(0, 25))
        self.lineEditHden.setMaximumSize(QtCore.QSize(16777215, 35))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.lineEditHden.setFont(font)
        self.lineEditHden.setText(_fromUtf8("1"))
        self.lineEditHden.setObjectName(_fromUtf8("lineEditHden"))
        self.gridLayout_3.addWidget(self.lineEditHden, 3, 1, 1, 1)
        spacerItem9 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_3.addItem(spacerItem9, 0, 1, 1, 1)
        spacerItem10 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_3.addItem(spacerItem10, 4, 1, 1, 1)
        spacerItem11 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_3.addItem(spacerItem11, 2, 1, 1, 1)
        self.horizontalLayout.addWidget(self.groupBoxH)
        self.verticalLayout_3.addWidget(self.frameSis)
        self.tabWidget.addTab(self.tabDiagrama, _fromUtf8(""))
        self.tabSimul = QtGui.QWidget()
        self.tabSimul.setObjectName(_fromUtf8("tabSimul"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.tabSimul)
        self.horizontalLayout_2.setMargin(4)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.frameSimul = QtGui.QFrame(self.tabSimul)
        self.frameSimul.setMinimumSize(QtCore.QSize(160, 0))
        self.frameSimul.setMaximumSize(QtCore.QSize(160, 16777215))
        self.frameSimul.setAutoFillBackground(False)
        self.frameSimul.setFrameShape(QtGui.QFrame.Box)
        self.frameSimul.setFrameShadow(QtGui.QFrame.Sunken)
        self.frameSimul.setLineWidth(1)
        self.frameSimul.setMidLineWidth(0)
        self.frameSimul.setObjectName(_fromUtf8("frameSimul"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.frameSimul)
        self.verticalLayout_2.setMargin(4)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.labelSimulTit = QtGui.QLabel(self.frameSimul)
        self.labelSimulTit.setMinimumSize(QtCore.QSize(0, 20))
        self.labelSimulTit.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setWeight(75)
        self.labelSimulTit.setFont(font)
        self.labelSimulTit.setAlignment(QtCore.Qt.AlignCenter)
        self.labelSimulTit.setObjectName(_fromUtf8("labelSimulTit"))
        self.verticalLayout_2.addWidget(self.labelSimulTit)
        self.labelTmax = QtGui.QLabel(self.frameSimul)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.labelTmax.setFont(font)
        self.labelTmax.setText(_fromUtf8("Tmax [s]:"))
        self.labelTmax.setObjectName(_fromUtf8("labelTmax"))
        self.verticalLayout_2.addWidget(self.labelTmax)
        self.doubleSpinBoxTmax = QtGui.QDoubleSpinBox(self.frameSimul)
        self.doubleSpinBoxTmax.setMinimumSize(QtCore.QSize(0, 25))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.doubleSpinBoxTmax.setFont(font)
        self.doubleSpinBoxTmax.setAlignment(QtCore.Qt.AlignCenter)
        self.doubleSpinBoxTmax.setButtonSymbols(QtGui.QAbstractSpinBox.UpDownArrows)
        self.doubleSpinBoxTmax.setDecimals(1)
        self.doubleSpinBoxTmax.setMaximum(2000.0)
        self.doubleSpinBoxTmax.setProperty("value", 10.0)
        self.doubleSpinBoxTmax.setObjectName(_fromUtf8("doubleSpinBoxTmax"))
        self.verticalLayout_2.addWidget(self.doubleSpinBoxTmax)
        self.labelRes = QtGui.QLabel(self.frameSimul)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.labelRes.setFont(font)
        self.labelRes.setText(_fromUtf8("Resolução:"))
        self.labelRes.setObjectName(_fromUtf8("labelRes"))
        self.verticalLayout_2.addWidget(self.labelRes)
        self.doubleSpinBoxResT = QtGui.QDoubleSpinBox(self.frameSimul)
        self.doubleSpinBoxResT.setMinimumSize(QtCore.QSize(0, 25))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.doubleSpinBoxResT.setFont(font)
        self.doubleSpinBoxResT.setAlignment(QtCore.Qt.AlignCenter)
        self.doubleSpinBoxResT.setButtonSymbols(QtGui.QAbstractSpinBox.UpDownArrows)
        self.doubleSpinBoxResT.setDecimals(4)
        self.doubleSpinBoxResT.setMaximum(0.5)
        self.doubleSpinBoxResT.setSingleStep(0.01)
        self.doubleSpinBoxResT.setProperty("value", 0.01)
        self.doubleSpinBoxResT.setObjectName(_fromUtf8("doubleSpinBoxResT"))
        self.verticalLayout_2.addWidget(self.doubleSpinBoxResT)
        spacerItem12 = QtGui.QSpacerItem(20, 60, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem12)
        self.labelMostrar = QtGui.QLabel(self.frameSimul)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setWeight(75)
        self.labelMostrar.setFont(font)
        self.labelMostrar.setObjectName(_fromUtf8("labelMostrar"))
        self.verticalLayout_2.addWidget(self.labelMostrar)
        self.checkBoxSaida = QtGui.QCheckBox(self.frameSimul)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(False)
        font.setItalic(False)
        font.setWeight(50)
        self.checkBoxSaida.setFont(font)
        self.checkBoxSaida.setChecked(True)
        self.checkBoxSaida.setObjectName(_fromUtf8("checkBoxSaida"))
        self.verticalLayout_2.addWidget(self.checkBoxSaida)
        self.checkBoxEntrada = QtGui.QCheckBox(self.frameSimul)
        font = QtGui.QFont()
        font.setPointSize(12)
        self.checkBoxEntrada.setFont(font)
        self.checkBoxEntrada.setChecked(True)
        self.checkBoxEntrada.setObjectName(_fromUtf8("checkBoxEntrada"))
        self.verticalLayout_2.addWidget(self.checkBoxEntrada)
        self.checkBoxErro = QtGui.QCheckBox(self.frameSimul)
        font = QtGui.QFont()
        font.setPointSize(12)
        self.checkBoxErro.setFont(font)
        self.checkBoxErro.setObjectName(_fromUtf8("checkBoxErro"))
        self.verticalLayout_2.addWidget(self.checkBoxErro)
        self.checkBoxControle = QtGui.QCheckBox(self.frameSimul)
        self.checkBoxControle.setEnabled(False)
        font = QtGui.QFont()
        font.setPointSize(12)
        self.checkBoxControle.setFont(font)
        self.checkBoxControle.setObjectName(_fromUtf8("checkBoxControle"))
        self.verticalLayout_2.addWidget(self.checkBoxControle)
        self.checkBoxPert = QtGui.QCheckBox(self.frameSimul)
        font = QtGui.QFont()
        font.setPointSize(12)
        self.checkBoxPert.setFont(font)
        self.checkBoxPert.setObjectName(_fromUtf8("checkBoxPert"))
        self.verticalLayout_2.addWidget(self.checkBoxPert)
        spacerItem13 = QtGui.QSpacerItem(20, 61, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem13)
        self.btnSimul = QtGui.QPushButton(self.frameSimul)
        self.btnSimul.setMinimumSize(QtCore.QSize(0, 40))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.btnSimul.setFont(font)
        self.btnSimul.setObjectName(_fromUtf8("btnSimul"))
        self.verticalLayout_2.addWidget(self.btnSimul)
        self.btnContinuar = QtGui.QPushButton(self.frameSimul)
        self.btnContinuar.setEnabled(False)
        self.btnContinuar.setMinimumSize(QtCore.QSize(0, 40))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.btnContinuar.setFont(font)
        self.btnContinuar.setObjectName(_fromUtf8("btnContinuar"))
        self.verticalLayout_2.addWidget(self.btnContinuar)
        self.btnLimparSimul = QtGui.QPushButton(self.frameSimul)
        self.btnLimparSimul.setMinimumSize(QtCore.QSize(0, 40))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.btnLimparSimul.setFont(font)
        self.btnLimparSimul.setObjectName(_fromUtf8("btnLimparSimul"))
        self.verticalLayout_2.addWidget(self.btnLimparSimul)
        self.horizontalLayout_2.addWidget(self.frameSimul)
        self.VBoxLayoutSimul = QtGui.QVBoxLayout()
        self.VBoxLayoutSimul.setObjectName(_fromUtf8("VBoxLayoutSimul"))
        self.mplSimul = MatplotlibWidget(self.tabSimul)
        self.mplSimul.setObjectName(_fromUtf8("mplSimul"))
        self.VBoxLayoutSimul.addWidget(self.mplSimul)
        self.horizontalLayout_2.addLayout(self.VBoxLayoutSimul)
        self.tabWidget.addTab(self.tabSimul, _fromUtf8(""))
        self.tabLGR = QtGui.QWidget()
        self.tabLGR.setObjectName(_fromUtf8("tabLGR"))
        self.horizontalLayout_3 = QtGui.QHBoxLayout(self.tabLGR)
        self.horizontalLayout_3.setMargin(4)
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.frameLGR = QtGui.QFrame(self.tabLGR)
        self.frameLGR.setMinimumSize(QtCore.QSize(160, 0))
        self.frameLGR.setMaximumSize(QtCore.QSize(160, 16777215))
        self.frameLGR.setFrameShape(QtGui.QFrame.Box)
        self.frameLGR.setFrameShadow(QtGui.QFrame.Sunken)
        self.frameLGR.setObjectName(_fromUtf8("frameLGR"))
        self.verticalLayout_6 = QtGui.QVBoxLayout(self.frameLGR)
        self.verticalLayout_6.setMargin(4)
        self.verticalLayout_6.setObjectName(_fromUtf8("verticalLayout_6"))
        self.labelLGRTit = QtGui.QLabel(self.frameLGR)
        self.labelLGRTit.setMinimumSize(QtCore.QSize(0, 20))
        self.labelLGRTit.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setWeight(75)
        self.labelLGRTit.setFont(font)
        self.labelLGRTit.setAlignment(QtCore.Qt.AlignCenter)
        self.labelLGRTit.setObjectName(_fromUtf8("labelLGRTit"))
        self.verticalLayout_6.addWidget(self.labelLGRTit)
        self.frameLGR1 = QtGui.QFrame(self.frameLGR)
        self.frameLGR1.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frameLGR1.setFrameShadow(QtGui.QFrame.Raised)
        self.frameLGR1.setObjectName(_fromUtf8("frameLGR1"))
        self.gridLayout_6 = QtGui.QGridLayout(self.frameLGR1)
        self.gridLayout_6.setMargin(0)
        self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
        self.labelKmax = QtGui.QLabel(self.frameLGR1)
        self.labelKmax.setMinimumSize(QtCore.QSize(0, 20))
        self.labelKmax.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.labelKmax.setFont(font)
        self.labelKmax.setText(_fromUtf8("Kmax:"))
        self.labelKmax.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.labelKmax.setObjectName(_fromUtf8("labelKmax"))
        self.gridLayout_6.addWidget(self.labelKmax, 0, 0, 1, 1)
        self.doubleSpinBoxKmax = QtGui.QDoubleSpinBox(self.frameLGR1)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.doubleSpinBoxKmax.sizePolicy().hasHeightForWidth())
        self.doubleSpinBoxKmax.setSizePolicy(sizePolicy)
        self.doubleSpinBoxKmax.setMinimumSize(QtCore.QSize(0, 25))
        self.doubleSpinBoxKmax.setMaximumSize(QtCore.QSize(16777215, 25))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.doubleSpinBoxKmax.setFont(font)
        self.doubleSpinBoxKmax.setAlignment(QtCore.Qt.AlignCenter)
        self.doubleSpinBoxKmax.setButtonSymbols(QtGui.QAbstractSpinBox.UpDownArrows)
        self.doubleSpinBoxKmax.setDecimals(1)
        self.doubleSpinBoxKmax.setMinimum(1.0)
        self.doubleSpinBoxKmax.setMaximum(1000.0)
        self.doubleSpinBoxKmax.setProperty("value", 10.0)
        self.doubleSpinBoxKmax.setObjectName(_fromUtf8("doubleSpinBoxKmax"))
        self.gridLayout_6.addWidget(self.doubleSpinBoxKmax, 0, 1, 1, 3)
        self.doubleSpinBoxRebd = QtGui.QDoubleSpinBox(self.frameLGR1)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.doubleSpinBoxRebd.sizePolicy().hasHeightForWidth())
        self.doubleSpinBoxRebd.setSizePolicy(sizePolicy)
        self.doubleSpinBoxRebd.setMinimumSize(QtCore.QSize(80, 25))
        self.doubleSpinBoxRebd.setMaximumSize(QtCore.QSize(16777215, 25))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.doubleSpinBoxRebd.setFont(font)
        self.doubleSpinBoxRebd.setAlignment(QtCore.Qt.AlignCenter)
        self.doubleSpinBoxRebd.setButtonSymbols(QtGui.QAbstractSpinBox.UpDownArrows)
        self.doubleSpinBoxRebd.setDecimals(2)
        self.doubleSpinBoxRebd.setMinimum(0.0)
        self.doubleSpinBoxRebd.setMaximum(100.0)
        self.doubleSpinBoxRebd.setSingleStep(0.5)
        self.doubleSpinBoxRebd.setProperty("value", 0.0)
        self.doubleSpinBoxRebd.setObjectName(_fromUtf8("doubleSpinBoxRebd"))
        self.gridLayout_6.addWidget(self.doubleSpinBoxRebd, 3, 1, 1, 3)
        self.labelKmin = QtGui.QLabel(self.frameLGR1)
        self.labelKmin.setMinimumSize(QtCore.QSize(0, 20))
        self.labelKmin.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.labelKmin.setFont(font)
        self.labelKmin.setText(_fromUtf8("Kmin:"))
        self.labelKmin.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.labelKmin.setObjectName(_fromUtf8("labelKmin"))
        self.gridLayout_6.addWidget(self.labelKmin, 1, 0, 1, 1)
        self.doubleSpinBoxImbd = QtGui.QDoubleSpinBox(self.frameLGR1)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.doubleSpinBoxImbd.sizePolicy().hasHeightForWidth())
        self.doubleSpinBoxImbd.setSizePolicy(sizePolicy)
        self.doubleSpinBoxImbd.setMinimumSize(QtCore.QSize(80, 25))
        self.doubleSpinBoxImbd.setMaximumSize(QtCore.QSize(16777215, 25))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.doubleSpinBoxImbd.setFont(font)
        self.doubleSpinBoxImbd.setAlignment(QtCore.Qt.AlignCenter)
        self.doubleSpinBoxImbd.setButtonSymbols(QtGui.QAbstractSpinBox.UpDownArrows)
        self.doubleSpinBoxImbd.setDecimals(2)
        self.doubleSpinBoxImbd.setMinimum(0.0)
        self.doubleSpinBoxImbd.setMaximum(1000.0)
        self.doubleSpinBoxImbd.setSingleStep(0.5)
        self.doubleSpinBoxImbd.setProperty("value", 0.0)
        self.doubleSpinBoxImbd.setObjectName(_fromUtf8("doubleSpinBoxImbd"))
        self.gridLayout_6.addWidget(self.doubleSpinBoxImbd, 5, 1, 1, 3)
        self.doubleSpinBoxKmin = QtGui.QDoubleSpinBox(self.frameLGR1)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.doubleSpinBoxKmin.sizePolicy().hasHeightForWidth())
        self.doubleSpinBoxKmin.setSizePolicy(sizePolicy)
        self.doubleSpinBoxKmin.setMinimumSize(QtCore.QSize(0, 25))
        self.doubleSpinBoxKmin.setMaximumSize(QtCore.QSize(16777215, 25))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.doubleSpinBoxKmin.setFont(font)
        self.doubleSpinBoxKmin.setAlignment(QtCore.Qt.AlignCenter)
        self.doubleSpinBoxKmin.setButtonSymbols(QtGui.QAbstractSpinBox.UpDownArrows)
        self.doubleSpinBoxKmin.setDecimals(1)
        self.doubleSpinBoxKmin.setMinimum(-1000.0)
        self.doubleSpinBoxKmin.setMaximum(1000.0)
        self.doubleSpinBoxKmin.setProperty("value", 0.0)
        self.doubleSpinBoxKmin.setObjectName(_fromUtf8("doubleSpinBoxKmin"))
        self.gridLayout_6.addWidget(self.doubleSpinBoxKmin, 1, 1, 1, 3)
        self.labelImbd = QtGui.QLabel(self.frameLGR1)
        self.labelImbd.setMinimumSize(QtCore.QSize(0, 20))
        self.labelImbd.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.labelImbd.setFont(font)
        self.labelImbd.setText(_fromUtf8("Imbd:"))
        self.labelImbd.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.labelImbd.setObjectName(_fromUtf8("labelImbd"))
        self.gridLayout_6.addWidget(self.labelImbd, 5, 0, 1, 1)
        self.labelRibd = QtGui.QLabel(self.frameLGR1)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.labelRibd.sizePolicy().hasHeightForWidth())
        self.labelRibd.setSizePolicy(sizePolicy)
        self.labelRibd.setMinimumSize(QtCore.QSize(0, 20))
        self.labelRibd.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.labelRibd.setFont(font)
        self.labelRibd.setText(_fromUtf8("Ribd:"))
        self.labelRibd.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.labelRibd.setObjectName(_fromUtf8("labelRibd"))
        self.gridLayout_6.addWidget(self.labelRibd, 4, 0, 1, 1)
        self.verticalSliderK = QtGui.QSlider(self.frameLGR1)
        self.verticalSliderK.setMinimumSize(QtCore.QSize(40, 0))
        self.verticalSliderK.setMaximumSize(QtCore.QSize(40, 16777215))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.verticalSliderK.setFont(font)
        self.verticalSliderK.setMaximum(200)
        self.verticalSliderK.setProperty("value", 20)
        self.verticalSliderK.setSliderPosition(20)
        self.verticalSliderK.setOrientation(QtCore.Qt.Vertical)
        self.verticalSliderK.setTickPosition(QtGui.QSlider.TicksBothSides)
        self.verticalSliderK.setObjectName(_fromUtf8("verticalSliderK"))
        self.gridLayout_6.addWidget(self.verticalSliderK, 2, 3, 1, 1)
        self.labelRebd = QtGui.QLabel(self.frameLGR1)
        self.labelRebd.setMinimumSize(QtCore.QSize(0, 20))
        self.labelRebd.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.labelRebd.setFont(font)
        self.labelRebd.setText(_fromUtf8("Rebd:"))
        self.labelRebd.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.labelRebd.setObjectName(_fromUtf8("labelRebd"))
        self.gridLayout_6.addWidget(self.labelRebd, 3, 0, 1, 1)
        self.doubleSpinBoxRibd = QtGui.QDoubleSpinBox(self.frameLGR1)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.doubleSpinBoxRibd.sizePolicy().hasHeightForWidth())
        self.doubleSpinBoxRibd.setSizePolicy(sizePolicy)
        self.doubleSpinBoxRibd.setMinimumSize(QtCore.QSize(80, 25))
        self.doubleSpinBoxRibd.setMaximumSize(QtCore.QSize(16777215, 25))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.doubleSpinBoxRibd.setFont(font)
        self.doubleSpinBoxRibd.setAlignment(QtCore.Qt.AlignCenter)
        self.doubleSpinBoxRibd.setButtonSymbols(QtGui.QAbstractSpinBox.UpDownArrows)
        self.doubleSpinBoxRibd.setDecimals(2)
        self.doubleSpinBoxRibd.setMinimum(0.0)
        self.doubleSpinBoxRibd.setMaximum(1.0)
        self.doubleSpinBoxRibd.setSingleStep(0.05)
        self.doubleSpinBoxRibd.setProperty("value", 0.0)
        self.doubleSpinBoxRibd.setObjectName(_fromUtf8("doubleSpinBoxRibd"))
        self.gridLayout_6.addWidget(self.doubleSpinBoxRibd, 4, 1, 1, 3)
        self.verticalLayout_7 = QtGui.QVBoxLayout()
        self.verticalLayout_7.setObjectName(_fromUtf8("verticalLayout_7"))
        spacerItem14 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_7.addItem(spacerItem14)
        self.labelKlgr = QtGui.QLabel(self.frameLGR1)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.labelKlgr.sizePolicy().hasHeightForWidth())
        self.labelKlgr.setSizePolicy(sizePolicy)
        self.labelKlgr.setMinimumSize(QtCore.QSize(0, 20))
        self.labelKlgr.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.labelKlgr.setFont(font)
        self.labelKlgr.setText(_fromUtf8("Ganho K:"))
        self.labelKlgr.setAlignment(QtCore.Qt.AlignCenter)
        self.labelKlgr.setObjectName(_fromUtf8("labelKlgr"))
        self.verticalLayout_7.addWidget(self.labelKlgr)
        self.doubleSpinBoxKlgr = QtGui.QDoubleSpinBox(self.frameLGR1)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.doubleSpinBoxKlgr.sizePolicy().hasHeightForWidth())
        self.doubleSpinBoxKlgr.setSizePolicy(sizePolicy)
        self.doubleSpinBoxKlgr.setMinimumSize(QtCore.QSize(0, 25))
        self.doubleSpinBoxKlgr.setMaximumSize(QtCore.QSize(16777215, 25))
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(False)
        font.setWeight(50)
        self.doubleSpinBoxKlgr.setFont(font)
        self.doubleSpinBoxKlgr.setAlignment(QtCore.Qt.AlignCenter)
        self.doubleSpinBoxKlgr.setMinimum(-1000.0)
        self.doubleSpinBoxKlgr.setMaximum(1000.0)
        self.doubleSpinBoxKlgr.setSingleStep(0.05)
        self.doubleSpinBoxKlgr.setProperty("value", 1.0)
        self.doubleSpinBoxKlgr.setObjectName(_fromUtf8("doubleSpinBoxKlgr"))
        self.verticalLayout_7.addWidget(self.doubleSpinBoxKlgr)
        spacerItem15 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_7.addItem(spacerItem15)
        self.gridLayout_6.addLayout(self.verticalLayout_7, 2, 0, 1, 3)
        self.labelLGRpontos = QtGui.QLabel(self.frameLGR1)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.labelLGRpontos.sizePolicy().hasHeightForWidth())
        self.labelLGRpontos.setSizePolicy(sizePolicy)
        self.labelLGRpontos.setMinimumSize(QtCore.QSize(0, 20))
        self.labelLGRpontos.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.labelLGRpontos.setFont(font)
        self.labelLGRpontos.setText(_fromUtf8("Pontos:"))
        self.labelLGRpontos.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.labelLGRpontos.setObjectName(_fromUtf8("labelLGRpontos"))
        self.gridLayout_6.addWidget(self.labelLGRpontos, 6, 0, 1, 1)
        self.doubleSpinBoxLGRpontos = QtGui.QDoubleSpinBox(self.frameLGR1)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.doubleSpinBoxLGRpontos.sizePolicy().hasHeightForWidth())
        self.doubleSpinBoxLGRpontos.setSizePolicy(sizePolicy)
        self.doubleSpinBoxLGRpontos.setMinimumSize(QtCore.QSize(60, 25))
        self.doubleSpinBoxLGRpontos.setMaximumSize(QtCore.QSize(16777215, 25))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.doubleSpinBoxLGRpontos.setFont(font)
        self.doubleSpinBoxLGRpontos.setAlignment(QtCore.Qt.AlignCenter)
        self.doubleSpinBoxLGRpontos.setButtonSymbols(QtGui.QAbstractSpinBox.UpDownArrows)
        self.doubleSpinBoxLGRpontos.setSuffix(_fromUtf8(" pts"))
        self.doubleSpinBoxLGRpontos.setDecimals(0)
        self.doubleSpinBoxLGRpontos.setMinimum(10.0)
        self.doubleSpinBoxLGRpontos.setMaximum(10000.0)
        self.doubleSpinBoxLGRpontos.setSingleStep(10.0)
        self.doubleSpinBoxLGRpontos.setProperty("value", 200.0)
        self.doubleSpinBoxLGRpontos.setObjectName(_fromUtf8("doubleSpinBoxLGRpontos"))
        self.gridLayout_6.addWidget(self.doubleSpinBoxLGRpontos, 6, 1, 1, 3)
        self.verticalLayout_6.addWidget(self.frameLGR1)
        self.btnPlotLGR = QtGui.QPushButton(self.frameLGR)
        self.btnPlotLGR.setMinimumSize(QtCore.QSize(0, 40))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.btnPlotLGR.setFont(font)
        self.btnPlotLGR.setObjectName(_fromUtf8("btnPlotLGR"))
        self.verticalLayout_6.addWidget(self.btnPlotLGR)
        self.btnLGRclear = QtGui.QPushButton(self.frameLGR)
        self.btnLGRclear.setMinimumSize(QtCore.QSize(0, 40))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.btnLGRclear.setFont(font)
        self.btnLGRclear.setObjectName(_fromUtf8("btnLGRclear"))
        self.verticalLayout_6.addWidget(self.btnLGRclear)
        self.horizontalLayout_3.addWidget(self.frameLGR)
        self.VBoxLayoutLGR = QtGui.QVBoxLayout()
        self.VBoxLayoutLGR.setObjectName(_fromUtf8("VBoxLayoutLGR"))
        self.mplLGR = MatplotlibWidget(self.tabLGR)
        self.mplLGR.setObjectName(_fromUtf8("mplLGR"))
        self.VBoxLayoutLGR.addWidget(self.mplLGR)
        self.horizontalLayout_3.addLayout(self.VBoxLayoutLGR)
        self.tabWidget.addTab(self.tabLGR, _fromUtf8(""))
        self.tabBode = QtGui.QWidget()
        self.tabBode.setObjectName(_fromUtf8("tabBode"))
        self.horizontalLayout_5 = QtGui.QHBoxLayout(self.tabBode)
        self.horizontalLayout_5.setMargin(4)
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.frameBode = QtGui.QFrame(self.tabBode)
        self.frameBode.setMinimumSize(QtCore.QSize(160, 0))
        self.frameBode.setMaximumSize(QtCore.QSize(160, 16777215))
        self.frameBode.setFrameShape(QtGui.QFrame.Box)
        self.frameBode.setFrameShadow(QtGui.QFrame.Sunken)
        self.frameBode.setObjectName(_fromUtf8("frameBode"))
        self.verticalLayout_8 = QtGui.QVBoxLayout(self.frameBode)
        self.verticalLayout_8.setMargin(4)
        self.verticalLayout_8.setObjectName(_fromUtf8("verticalLayout_8"))
        self.labelBodeTit = QtGui.QLabel(self.frameBode)
        self.labelBodeTit.setMinimumSize(QtCore.QSize(0, 20))
        self.labelBodeTit.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setWeight(75)
        self.labelBodeTit.setFont(font)
        self.labelBodeTit.setAlignment(QtCore.Qt.AlignCenter)
        self.labelBodeTit.setObjectName(_fromUtf8("labelBodeTit"))
        self.verticalLayout_8.addWidget(self.labelBodeTit)
        self.labelFmin = QtGui.QLabel(self.frameBode)
        self.labelFmin.setMinimumSize(QtCore.QSize(0, 20))
        self.labelFmin.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.labelFmin.setFont(font)
        self.labelFmin.setLineWidth(0)
        self.labelFmin.setMidLineWidth(0)
        self.labelFmin.setAlignment(QtCore.Qt.AlignCenter)
        self.labelFmin.setObjectName(_fromUtf8("labelFmin"))
        self.verticalLayout_8.addWidget(self.labelFmin)
        self.doubleSpinFmin = QtGui.QDoubleSpinBox(self.frameBode)
        self.doubleSpinFmin.setMinimumSize(QtCore.QSize(0, 25))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.doubleSpinFmin.setFont(font)
        self.doubleSpinFmin.setAlignment(QtCore.Qt.AlignCenter)
        self.doubleSpinFmin.setButtonSymbols(QtGui.QAbstractSpinBox.UpDownArrows)
        self.doubleSpinFmin.setSuffix(_fromUtf8(" Hz"))
        self.doubleSpinFmin.setDecimals(4)
        self.doubleSpinFmin.setMinimum(0.0001)
        self.doubleSpinFmin.setMaximum(2000.0)
        self.doubleSpinFmin.setProperty("value", 0.01)
        self.doubleSpinFmin.setObjectName(_fromUtf8("doubleSpinFmin"))
        self.verticalLayout_8.addWidget(self.doubleSpinFmin)
        self.labelFmax = QtGui.QLabel(self.frameBode)
        self.labelFmax.setMinimumSize(QtCore.QSize(0, 20))
        self.labelFmax.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.labelFmax.setFont(font)
        self.labelFmax.setLineWidth(0)
        self.labelFmax.setMidLineWidth(0)
        self.labelFmax.setAlignment(QtCore.Qt.AlignCenter)
        self.labelFmax.setObjectName(_fromUtf8("labelFmax"))
        self.verticalLayout_8.addWidget(self.labelFmax)
        self.doubleSpinFmax = QtGui.QDoubleSpinBox(self.frameBode)
        self.doubleSpinFmax.setMinimumSize(QtCore.QSize(0, 25))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.doubleSpinFmax.setFont(font)
        self.doubleSpinFmax.setAlignment(QtCore.Qt.AlignCenter)
        self.doubleSpinFmax.setButtonSymbols(QtGui.QAbstractSpinBox.UpDownArrows)
        self.doubleSpinFmax.setSuffix(_fromUtf8(" Hz"))
        self.doubleSpinFmax.setDecimals(1)
        self.doubleSpinFmax.setMinimum(0.0)
        self.doubleSpinFmax.setMaximum(100000.0)
        self.doubleSpinFmax.setProperty("value", 100.0)
        self.doubleSpinFmax.setObjectName(_fromUtf8("doubleSpinFmax"))
        self.verticalLayout_8.addWidget(self.doubleSpinFmax)
        self.labelBodeRes = QtGui.QLabel(self.frameBode)
        self.labelBodeRes.setMinimumSize(QtCore.QSize(0, 20))
        self.labelBodeRes.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.labelBodeRes.setFont(font)
        self.labelBodeRes.setLineWidth(0)
        self.labelBodeRes.setMidLineWidth(0)
        self.labelBodeRes.setAlignment(QtCore.Qt.AlignCenter)
        self.labelBodeRes.setObjectName(_fromUtf8("labelBodeRes"))
        self.verticalLayout_8.addWidget(self.labelBodeRes)
        self.doubleSpinBodeRes = QtGui.QDoubleSpinBox(self.frameBode)
        self.doubleSpinBodeRes.setMinimumSize(QtCore.QSize(0, 25))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.doubleSpinBodeRes.setFont(font)
        self.doubleSpinBodeRes.setAlignment(QtCore.Qt.AlignCenter)
        self.doubleSpinBodeRes.setButtonSymbols(QtGui.QAbstractSpinBox.UpDownArrows)
        self.doubleSpinBodeRes.setSuffix(_fromUtf8(" pt/dec"))
        self.doubleSpinBodeRes.setDecimals(0)
        self.doubleSpinBodeRes.setMinimum(5.0)
        self.doubleSpinBodeRes.setMaximum(1000.0)
        self.doubleSpinBodeRes.setProperty("value", 20.0)
        self.doubleSpinBodeRes.setObjectName(_fromUtf8("doubleSpinBodeRes"))
        self.verticalLayout_8.addWidget(self.doubleSpinBodeRes)
        spacerItem16 = QtGui.QSpacerItem(20, 214, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_8.addItem(spacerItem16)
        self.btnPlotBode = QtGui.QPushButton(self.frameBode)
        self.btnPlotBode.setMinimumSize(QtCore.QSize(0, 40))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.btnPlotBode.setFont(font)
        self.btnPlotBode.setObjectName(_fromUtf8("btnPlotBode"))
        self.verticalLayout_8.addWidget(self.btnPlotBode)
        self.btnBodeClear = QtGui.QPushButton(self.frameBode)
        self.btnBodeClear.setMinimumSize(QtCore.QSize(0, 40))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.btnBodeClear.setFont(font)
        self.btnBodeClear.setObjectName(_fromUtf8("btnBodeClear"))
        self.verticalLayout_8.addWidget(self.btnBodeClear)
        self.horizontalLayout_5.addWidget(self.frameBode)
        self.VBoxLayoutBode = QtGui.QVBoxLayout()
        self.VBoxLayoutBode.setObjectName(_fromUtf8("VBoxLayoutBode"))
        self.mplBode = MatplotlibWidget(self.tabBode)
        self.mplBode.setObjectName(_fromUtf8("mplBode"))
        self.VBoxLayoutBode.addWidget(self.mplBode)
        self.horizontalLayout_5.addLayout(self.VBoxLayoutBode)
        self.tabWidget.addTab(self.tabBode, _fromUtf8(""))
        self.tabNiquist = QtGui.QWidget()
        self.tabNiquist.setObjectName(_fromUtf8("tabNiquist"))
        self.horizontalLayout_6 = QtGui.QHBoxLayout(self.tabNiquist)
        self.horizontalLayout_6.setMargin(4)
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.frameNyquist = QtGui.QFrame(self.tabNiquist)
        self.frameNyquist.setMinimumSize(QtCore.QSize(160, 0))
        self.frameNyquist.setMaximumSize(QtCore.QSize(160, 16777215))
        self.frameNyquist.setFrameShape(QtGui.QFrame.Box)
        self.frameNyquist.setFrameShadow(QtGui.QFrame.Sunken)
        self.frameNyquist.setObjectName(_fromUtf8("frameNyquist"))
        self.verticalLayout_9 = QtGui.QVBoxLayout(self.frameNyquist)
        self.verticalLayout_9.setMargin(4)
        self.verticalLayout_9.setObjectName(_fromUtf8("verticalLayout_9"))
        self.labelNyqTit = QtGui.QLabel(self.frameNyquist)
        self.labelNyqTit.setMinimumSize(QtCore.QSize(0, 20))
        self.labelNyqTit.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setWeight(75)
        self.labelNyqTit.setFont(font)
        self.labelNyqTit.setAlignment(QtCore.Qt.AlignCenter)
        self.labelNyqTit.setObjectName(_fromUtf8("labelNyqTit"))
        self.verticalLayout_9.addWidget(self.labelNyqTit)
        self.labelFminNyq = QtGui.QLabel(self.frameNyquist)
        self.labelFminNyq.setMinimumSize(QtCore.QSize(0, 20))
        self.labelFminNyq.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.labelFminNyq.setFont(font)
        self.labelFminNyq.setLineWidth(0)
        self.labelFminNyq.setMidLineWidth(0)
        self.labelFminNyq.setAlignment(QtCore.Qt.AlignCenter)
        self.labelFminNyq.setObjectName(_fromUtf8("labelFminNyq"))
        self.verticalLayout_9.addWidget(self.labelFminNyq)
        self.doubleSpinFminNyq = QtGui.QDoubleSpinBox(self.frameNyquist)
        self.doubleSpinFminNyq.setMinimumSize(QtCore.QSize(0, 25))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.doubleSpinFminNyq.setFont(font)
        self.doubleSpinFminNyq.setAlignment(QtCore.Qt.AlignCenter)
        self.doubleSpinFminNyq.setButtonSymbols(QtGui.QAbstractSpinBox.UpDownArrows)
        self.doubleSpinFminNyq.setSuffix(_fromUtf8(" Hz"))
        self.doubleSpinFminNyq.setDecimals(4)
        self.doubleSpinFminNyq.setMinimum(0.0001)
        self.doubleSpinFminNyq.setMaximum(2000.0)
        self.doubleSpinFminNyq.setProperty("value", 0.01)
        self.doubleSpinFminNyq.setObjectName(_fromUtf8("doubleSpinFminNyq"))
        self.verticalLayout_9.addWidget(self.doubleSpinFminNyq)
        self.labelFmaxNyq = QtGui.QLabel(self.frameNyquist)
        self.labelFmaxNyq.setMinimumSize(QtCore.QSize(0, 20))
        self.labelFmaxNyq.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.labelFmaxNyq.setFont(font)
        self.labelFmaxNyq.setLineWidth(0)
        self.labelFmaxNyq.setMidLineWidth(0)
        self.labelFmaxNyq.setAlignment(QtCore.Qt.AlignCenter)
        self.labelFmaxNyq.setObjectName(_fromUtf8("labelFmaxNyq"))
        self.verticalLayout_9.addWidget(self.labelFmaxNyq)
        self.doubleSpinFmaxNyq = QtGui.QDoubleSpinBox(self.frameNyquist)
        self.doubleSpinFmaxNyq.setMinimumSize(QtCore.QSize(0, 25))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.doubleSpinFmaxNyq.setFont(font)
        self.doubleSpinFmaxNyq.setAlignment(QtCore.Qt.AlignCenter)
        self.doubleSpinFmaxNyq.setButtonSymbols(QtGui.QAbstractSpinBox.UpDownArrows)
        self.doubleSpinFmaxNyq.setSuffix(_fromUtf8(" Hz"))
        self.doubleSpinFmaxNyq.setDecimals(1)
        self.doubleSpinFmaxNyq.setMinimum(0.0)
        self.doubleSpinFmaxNyq.setMaximum(100000.0)
        self.doubleSpinFmaxNyq.setProperty("value", 100.0)
        self.doubleSpinFmaxNyq.setObjectName(_fromUtf8("doubleSpinFmaxNyq"))
        self.verticalLayout_9.addWidget(self.doubleSpinFmaxNyq)
        self.labelNyqRes = QtGui.QLabel(self.frameNyquist)
        self.labelNyqRes.setMinimumSize(QtCore.QSize(0, 20))
        self.labelNyqRes.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.labelNyqRes.setFont(font)
        self.labelNyqRes.setLineWidth(0)
        self.labelNyqRes.setMidLineWidth(0)
        self.labelNyqRes.setAlignment(QtCore.Qt.AlignCenter)
        self.labelNyqRes.setObjectName(_fromUtf8("labelNyqRes"))
        self.verticalLayout_9.addWidget(self.labelNyqRes)
        self.doubleSpinNyqRes = QtGui.QDoubleSpinBox(self.frameNyquist)
        self.doubleSpinNyqRes.setMinimumSize(QtCore.QSize(0, 25))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.doubleSpinNyqRes.setFont(font)
        self.doubleSpinNyqRes.setAlignment(QtCore.Qt.AlignCenter)
        self.doubleSpinNyqRes.setButtonSymbols(QtGui.QAbstractSpinBox.UpDownArrows)
        self.doubleSpinNyqRes.setSuffix(_fromUtf8(" pt/dec"))
        self.doubleSpinNyqRes.setDecimals(0)
        self.doubleSpinNyqRes.setMinimum(5.0)
        self.doubleSpinNyqRes.setMaximum(1000.0)
        self.doubleSpinNyqRes.setProperty("value", 100.0)
        self.doubleSpinNyqRes.setObjectName(_fromUtf8("doubleSpinNyqRes"))
        self.verticalLayout_9.addWidget(self.doubleSpinNyqRes)
        self.checkBoxNyqCirc = QtGui.QCheckBox(self.frameNyquist)
        font = QtGui.QFont()
        font.setPointSize(12)
        self.checkBoxNyqCirc.setFont(font)
        self.checkBoxNyqCirc.setChecked(True)
        self.checkBoxNyqCirc.setObjectName(_fromUtf8("checkBoxNyqCirc"))
        self.verticalLayout_9.addWidget(self.checkBoxNyqCirc)
        self.checkBoxNyqNegFreq = QtGui.QCheckBox(self.frameNyquist)
        font = QtGui.QFont()
        font.setPointSize(12)
        self.checkBoxNyqNegFreq.setFont(font)
        self.checkBoxNyqNegFreq.setChecked(True)
        self.checkBoxNyqNegFreq.setObjectName(_fromUtf8("checkBoxNyqNegFreq"))
        self.verticalLayout_9.addWidget(self.checkBoxNyqNegFreq)
        spacerItem17 = QtGui.QSpacerItem(20, 214, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_9.addItem(spacerItem17)
        self.btnPlotNyquist = QtGui.QPushButton(self.frameNyquist)
        self.btnPlotNyquist.setMinimumSize(QtCore.QSize(0, 40))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.btnPlotNyquist.setFont(font)
        self.btnPlotNyquist.setObjectName(_fromUtf8("btnPlotNyquist"))
        self.verticalLayout_9.addWidget(self.btnPlotNyquist)
        self.btnClearNyquist = QtGui.QPushButton(self.frameNyquist)
        self.btnClearNyquist.setMinimumSize(QtCore.QSize(0, 40))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.btnClearNyquist.setFont(font)
        self.btnClearNyquist.setObjectName(_fromUtf8("btnClearNyquist"))
        self.verticalLayout_9.addWidget(self.btnClearNyquist)
        self.horizontalLayout_6.addWidget(self.frameNyquist)
        self.VBoxLayoutNyquist = QtGui.QVBoxLayout()
        self.VBoxLayoutNyquist.setObjectName(_fromUtf8("VBoxLayoutNyquist"))
        self.mplNyquist = MatplotlibWidget(self.tabNiquist)
        self.mplNyquist.setObjectName(_fromUtf8("mplNyquist"))
        self.VBoxLayoutNyquist.addWidget(self.mplNyquist)
        self.horizontalLayout_6.addLayout(self.VBoxLayoutNyquist)
        self.tabWidget.addTab(self.tabNiquist, _fromUtf8(""))
        self.tabInfo = QtGui.QWidget()
        self.tabInfo.setObjectName(_fromUtf8("tabInfo"))
        self.labelInfoCLpoles = QtGui.QLabel(self.tabInfo)
        self.labelInfoCLpoles.setGeometry(QtCore.QRect(20, 260, 121, 41))
        self.labelInfoCLpoles.setMinimumSize(QtCore.QSize(0, 20))
        self.labelInfoCLpoles.setMaximumSize(QtCore.QSize(16777215, 100))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.labelInfoCLpoles.setFont(font)
        self.labelInfoCLpoles.setLineWidth(0)
        self.labelInfoCLpoles.setMidLineWidth(0)
        self.labelInfoCLpoles.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.labelInfoCLpoles.setWordWrap(True)
        self.labelInfoCLpoles.setObjectName(_fromUtf8("labelInfoCLpoles"))
        self.labelInfoOLpoles = QtGui.QLabel(self.tabInfo)
        self.labelInfoOLpoles.setGeometry(QtCore.QRect(20, 20, 121, 41))
        self.labelInfoOLpoles.setMinimumSize(QtCore.QSize(0, 20))
        self.labelInfoOLpoles.setMaximumSize(QtCore.QSize(16777215, 100))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.labelInfoOLpoles.setFont(font)
        self.labelInfoOLpoles.setLineWidth(0)
        self.labelInfoOLpoles.setMidLineWidth(0)
        self.labelInfoOLpoles.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.labelInfoOLpoles.setWordWrap(True)
        self.labelInfoOLpoles.setObjectName(_fromUtf8("labelInfoOLpoles"))
        self.listWidgetOLpoles = QtGui.QListWidget(self.tabInfo)
        self.listWidgetOLpoles.setGeometry(QtCore.QRect(10, 80, 141, 151))
        self.listWidgetOLpoles.setObjectName(_fromUtf8("listWidgetOLpoles"))
        self.labelInfoOLzeros = QtGui.QLabel(self.tabInfo)
        self.labelInfoOLzeros.setGeometry(QtCore.QRect(170, 20, 121, 41))
        self.labelInfoOLzeros.setMinimumSize(QtCore.QSize(0, 20))
        self.labelInfoOLzeros.setMaximumSize(QtCore.QSize(16777215, 100))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.labelInfoOLzeros.setFont(font)
        self.labelInfoOLzeros.setLineWidth(0)
        self.labelInfoOLzeros.setMidLineWidth(0)
        self.labelInfoOLzeros.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.labelInfoOLzeros.setWordWrap(True)
        self.labelInfoOLzeros.setObjectName(_fromUtf8("labelInfoOLzeros"))
        self.listWidgetOLzeros = QtGui.QListWidget(self.tabInfo)
        self.listWidgetOLzeros.setGeometry(QtCore.QRect(170, 80, 141, 151))
        self.listWidgetOLzeros.setObjectName(_fromUtf8("listWidgetOLzeros"))
        self.listWidgetCLpoles = QtGui.QListWidget(self.tabInfo)
        self.listWidgetCLpoles.setGeometry(QtCore.QRect(10, 310, 141, 151))
        self.listWidgetCLpoles.setObjectName(_fromUtf8("listWidgetCLpoles"))
        self.labelInfoRLpoints = QtGui.QLabel(self.tabInfo)
        self.labelInfoRLpoints.setGeometry(QtCore.QRect(330, 20, 121, 41))
        self.labelInfoRLpoints.setMinimumSize(QtCore.QSize(0, 20))
        self.labelInfoRLpoints.setMaximumSize(QtCore.QSize(16777215, 100))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.labelInfoRLpoints.setFont(font)
        self.labelInfoRLpoints.setLineWidth(0)
        self.labelInfoRLpoints.setMidLineWidth(0)
        self.labelInfoRLpoints.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.labelInfoRLpoints.setWordWrap(True)
        self.labelInfoRLpoints.setObjectName(_fromUtf8("labelInfoRLpoints"))
        self.listWidgetRLpoints = QtGui.QListWidget(self.tabInfo)
        self.listWidgetRLpoints.setGeometry(QtCore.QRect(330, 80, 141, 151))
        self.listWidgetRLpoints.setObjectName(_fromUtf8("listWidgetRLpoints"))
        self.label = QtGui.QLabel(self.tabInfo)
        self.label.setGeometry(QtCore.QRect(390, 360, 211, 61))
        font = QtGui.QFont()
        font.setPointSize(15)
        self.label.setFont(font)
        self.label.setWordWrap(True)
        self.label.setObjectName(_fromUtf8("label"))
        self.tabWidget.addTab(self.tabInfo, _fromUtf8(""))
        self.verticalLayout.addWidget(self.tabWidget)
        MainWindow.setCentralWidget(self.centralwidget)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        MainWindow.setStatusBar(self.statusbar)
        self.toolBar = QtGui.QToolBar(MainWindow)
        self.toolBar.setObjectName(_fromUtf8("toolBar"))
        MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar)
        self.actionSalvar_sistema = QtGui.QAction(MainWindow)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(_fromUtf8("images/filesave.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionSalvar_sistema.setIcon(icon1)
        self.actionSalvar_sistema.setObjectName(_fromUtf8("actionSalvar_sistema"))
        self.actionCarregar_sistema = QtGui.QAction(MainWindow)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(_fromUtf8("images/fileopen.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionCarregar_sistema.setIcon(icon2)
        self.actionCarregar_sistema.setObjectName(_fromUtf8("actionCarregar_sistema"))
        self.actionCalc = QtGui.QAction(MainWindow)
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(_fromUtf8("images/calc.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionCalc.setIcon(icon3)
        self.actionCalc.setObjectName(_fromUtf8("actionCalc"))
        self.actionConfig = QtGui.QAction(MainWindow)
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(_fromUtf8("images/config.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionConfig.setIcon(icon4)
        self.actionConfig.setObjectName(_fromUtf8("actionConfig"))
        self.actionHelp = QtGui.QAction(MainWindow)
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap(_fromUtf8("images/help.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionHelp.setIcon(icon5)
        self.actionHelp.setObjectName(_fromUtf8("actionHelp"))
        self.actionClose = QtGui.QAction(MainWindow)
        icon6 = QtGui.QIcon()
        icon6.addPixmap(QtGui.QPixmap(_fromUtf8("images/cloese.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionClose.setIcon(icon6)
        self.actionClose.setObjectName(_fromUtf8("actionClose"))
        self.actionReset = QtGui.QAction(MainWindow)
        icon7 = QtGui.QIcon()
        icon7.addPixmap(QtGui.QPixmap(_fromUtf8("images/refresh.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionReset.setIcon(icon7)
        self.actionReset.setObjectName(_fromUtf8("actionReset"))
        self.toolBar.addAction(self.actionCarregar_sistema)
        self.toolBar.addAction(self.actionSalvar_sistema)
        self.toolBar.addAction(self.actionReset)
        self.toolBar.addSeparator()
        self.toolBar.addAction(self.actionCalc)
        self.toolBar.addAction(self.actionHelp)
        self.toolBar.addSeparator()
        self.toolBar.addAction(self.actionClose)

        self.retranslateUi(MainWindow)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.actionClose, QtCore.SIGNAL(_fromUtf8("triggered()")), MainWindow.close)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(_translate("MainWindow", "LabControle 2.0 - Beta 3", None))
        self.groupBoxRt.setToolTip(_translate("MainWindow", "Parâmetros da entrada de referência", None))
        self.groupBoxRt.setTitle(_translate("MainWindow", "Entrada: r(t)", None))
        self.labelRvalue.setText(_translate("MainWindow", "Valor:", None))
        self.lineEditRvalue.setToolTip(_translate("MainWindow", "Valor do degrau ou função do tempo da entrada", None))
        self.labelRtime.setText(_translate("MainWindow", "Instante:", None))
        self.doubleSpinBoxRtime.setToolTip(_translate("MainWindow", "Instante de tempo em que a entrada será aplicada", None))
        self.labelRnoise.setText(_translate("MainWindow", "Ruído:", None))
        self.doubleSpinBoxRnoise.setToolTip(_translate("MainWindow", "Desvio padrão do ruído a ser aplicado na entrada r(t)", None))
        self.groupBoxWt.setToolTip(_translate("MainWindow", "Parâmetros da entrada perturbação", None))
        self.groupBoxWt.setTitle(_translate("MainWindow", "Perturbação: w(t)", None))
        self.labelWvalue.setText(_translate("MainWindow", "Valor:", None))
        self.lineEditWvalue.setToolTip(_translate("MainWindow", "Valor do degrau ou função do tempo da perturbação", None))
        self.labelWtime.setText(_translate("MainWindow", "Instante:", None))
        self.doubleSpinBoxWtime.setToolTip(_translate("MainWindow", "Instante de tempo em que a perturbação será aplicada", None))
        self.labelWnoise.setText(_translate("MainWindow", "Ruído:", None))
        self.doubleSpinBoxWnoise.setToolTip(_translate("MainWindow", "Desvio padrão do ruído a ser aplicado na entrada w(t)", None))
        self.comboBoxSys.setToolTip(_translate("MainWindow", "Seleção do tipo de sistema a ser analisado", None))
        self.comboBoxSys.setItemText(0, _translate("MainWindow", "Sistema LTI 1: K.G(s) + W(s)", None))
        self.comboBoxSys.setItemText(1, _translate("MainWindow", "Sistema LTI 2: K.C(s).G(s) + W(s)", None))
        self.comboBoxSys.setItemText(2, _translate("MainWindow", "Sistema LTI3: [K.C(s) +W(s)].G(s)", None))
        self.comboBoxSys.setItemText(3, _translate("MainWindow", "Sistema Linear Discreto (N/A)", None))
        self.comboBoxSys.setItemText(4, _translate("MainWindow", "Sistema não-linear (N/A)", None))
        self.graphicsView.setToolTip(_translate("MainWindow", "Diagrama de blocos do sistema. Use os controles acima para configurar as entradas e abaixo para as funções de transferência", None))
        self.groupBoxMalha.setToolTip(_translate("MainWindow", "Abre/fecha a malha de realimentação", None))
        self.groupBoxMalha.setTitle(_translate("MainWindow", "Malha", None))
        self.radioBtnOpen.setToolTip(_translate("MainWindow", "Abrir a malha de realimentação", None))
        self.radioBtnOpen.setText(_translate("MainWindow", "Aberta", None))
        self.radioBtnClose.setToolTip(_translate("MainWindow", "Fechar a malha de realimentação", None))
        self.radioBtnClose.setText(_translate("MainWindow", "Fechada", None))
        self.groupBoxK.setToolTip(_translate("MainWindow", "Ajuste do ganho de malha direta K", None))
        self.groupBoxK.setTitle(_translate("MainWindow", "Ganho", None))
        self.labelK.setToolTip(_translate("MainWindow", "Ajuste do ganho de malha direta K", None))
        self.doubleSpinBoxK.setToolTip(_translate("MainWindow", "Ajuste do ganho de malha direta K", None))
        self.groupBoxC.setToolTip(_translate("MainWindow", "Habilita/desabilita o controlador", None))
        self.groupBoxC.setTitle(_translate("MainWindow", "Controlador C(s)", None))
        self.labelCnum.setText(_translate("MainWindow", "Num:", None))
        self.lineEditCnum.setToolTip(_translate("MainWindow", "Numerador do controlador C(s)", None))
        self.labelCden.setText(_translate("MainWindow", "Den:", None))
        self.lineEditCden.setToolTip(_translate("MainWindow", "Denominador do controlador C(s)", None))
        self.groupBoxG.setToolTip(_translate("MainWindow", "Habilita/desabilita a planta", None))
        self.groupBoxG.setTitle(_translate("MainWindow", "Planta G(s)", None))
        self.lineEditGnum.setToolTip(_translate("MainWindow", "Numerador da planta G(s)", None))
        self.lineEditGden.setToolTip(_translate("MainWindow", "Denominador da planta G(s)", None))
        self.groupBoxH.setToolTip(_translate("MainWindow", "Habilita/desabilita o sensor", None))
        self.groupBoxH.setTitle(_translate("MainWindow", "Sensor H(s)", None))
        self.labelHnum.setToolTip(_translate("MainWindow", "Denominador do sensor H(s)", None))
        self.lineEditHnum.setToolTip(_translate("MainWindow", "Numerador do sensor H(s)", None))
        self.labelHden.setToolTip(_translate("MainWindow", "Denominador do sensor H(s)", None))
        self.lineEditHden.setToolTip(_translate("MainWindow", "Denominador do sensor H(s)", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabDiagrama), _translate("MainWindow", "Diagrama", None))
        self.labelSimulTit.setText(_translate("MainWindow", "Configuração", None))
        self.doubleSpinBoxTmax.setToolTip(_translate("MainWindow", "Entre com o tempo máximo de simulação", None))
        self.doubleSpinBoxTmax.setSuffix(_translate("MainWindow", " seg.", None))
        self.doubleSpinBoxResT.setToolTip(_translate("MainWindow", "Entre com a resolução da simulação", None))
        self.doubleSpinBoxResT.setSuffix(_translate("MainWindow", " seg.", None))
        self.labelMostrar.setText(_translate("MainWindow", "Mostrar:", None))
        self.checkBoxSaida.setToolTip(_translate("MainWindow", "Selecione para mostrar o sinal de saída y(t)", None))
        self.checkBoxSaida.setText(_translate("MainWindow", "Saída: y(t)", None))
        self.checkBoxEntrada.setToolTip(_translate("MainWindow", "Selecione para mostrar o sinal de entrada r(t)", None))
        self.checkBoxEntrada.setText(_translate("MainWindow", "Entrada: r(t)", None))
        self.checkBoxErro.setToolTip(_translate("MainWindow", "Selecione para mostrar o sinal de erro e(t)", None))
        self.checkBoxErro.setText(_translate("MainWindow", "Erro: e(t)", None))
        self.checkBoxControle.setToolTip(_translate("MainWindow", "Selecione para mostrar o sinal de controle u(t)", None))
        self.checkBoxControle.setText(_translate("MainWindow", "Controle: u(t)", None))
        self.checkBoxPert.setToolTip(_translate("MainWindow", "Selecione para mostrar o sinal de perturbação w(t)", None))
        self.checkBoxPert.setText(_translate("MainWindow", "Perturbação: w(t)", None))
        self.btnSimul.setToolTip(_translate("MainWindow", "Iniciar simulação no domínio do tempo", None))
        self.btnSimul.setText(_translate("MainWindow", "Simular", None))
        self.btnContinuar.setToolTip(_translate("MainWindow", "Continuar a simulação", None))
        self.btnContinuar.setText(_translate("MainWindow", "Continuar", None))
        self.btnLimparSimul.setToolTip(_translate("MainWindow", "Limpar a área do gráfico", None))
        self.btnLimparSimul.setText(_translate("MainWindow", "Limpar", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabSimul), _translate("MainWindow", "Simulação", None))
        self.labelLGRTit.setText(_translate("MainWindow", "Configuração", None))
        self.doubleSpinBoxKmax.setToolTip(_translate("MainWindow", "Valor máximo de ganho para traçado do LGR", None))
        self.doubleSpinBoxRebd.setToolTip(_translate("MainWindow", "Valor da restrição de tempo de resposta", None))
        self.doubleSpinBoxImbd.setToolTip(_translate("MainWindow", "Valor da restrição de tempo de pico", None))
        self.doubleSpinBoxKmin.setToolTip(_translate("MainWindow", "Valor mínimo de ganho para traçado do LGR", None))
        self.labelImbd.setToolTip(_translate("MainWindow", "Região proibida de tempo de pico", None))
        self.labelRibd.setToolTip(_translate("MainWindow", "Região proibida de sobresinal percentual", None))
        self.verticalSliderK.setToolTip(_translate("MainWindow", "Ajuste de ganho de malha direta K", None))
        self.labelRebd.setToolTip(_translate("MainWindow", "Região proibida de tempo de resposta", None))
        self.doubleSpinBoxRibd.setToolTip(_translate("MainWindow", "Valor da restrição de sobressinal percentual", None))
        self.doubleSpinBoxKlgr.setToolTip(_translate("MainWindow", "Ajuste do ganho de malha direta K", None))
        self.labelLGRpontos.setToolTip(_translate("MainWindow", "Resolução do gráfico (número de pontos)", None))
        self.doubleSpinBoxLGRpontos.setToolTip(_translate("MainWindow", "Número de pontos para o traçado do LGR", None))
        self.btnPlotLGR.setToolTip(_translate("MainWindow", "Traçar o Lugar Geomátrico das Raízes", None))
        self.btnPlotLGR.setText(_translate("MainWindow", "Traçar LGR", None))
        self.btnLGRclear.setToolTip(_translate("MainWindow", "Limpar a área do gráfico", None))
        self.btnLGRclear.setText(_translate("MainWindow", "Limpar", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabLGR), _translate("MainWindow", "Lugar das Raízes", None))
        self.labelBodeTit.setText(_translate("MainWindow", "Configuração", None))
        self.labelFmin.setText(_translate("MainWindow", "Freq. mínima:", None))
        self.doubleSpinFmin.setToolTip(_translate("MainWindow", "Entre com a frequência mínima para o cálculo do diagrama de Bode", None))
        self.labelFmax.setText(_translate("MainWindow", "Freq. máxima:", None))
        self.doubleSpinFmax.setToolTip(_translate("MainWindow", "Entre com a frequência máxima para o cálculo do diagrama de Bode", None))
        self.labelBodeRes.setText(_translate("MainWindow", "Resolução:", None))
        self.doubleSpinBodeRes.setToolTip(_translate("MainWindow", "Entre com o número de pontos por década para o traçado do diagrama de Bode", None))
        self.btnPlotBode.setToolTip(_translate("MainWindow", "Traçar o Diagrama de Bode", None))
        self.btnPlotBode.setText(_translate("MainWindow", "Traçar Bode", None))
        self.btnBodeClear.setToolTip(_translate("MainWindow", "Limpar a área do gráfico", None))
        self.btnBodeClear.setText(_translate("MainWindow", "Limpar", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabBode), _translate("MainWindow", "Diagrama de Bode", None))
        self.labelNyqTit.setText(_translate("MainWindow", "Configuração", None))
        self.labelFminNyq.setText(_translate("MainWindow", "Freq. mínima:", None))
        self.doubleSpinFminNyq.setToolTip(_translate("MainWindow", "Entre com a frequência mínima para o cálculo do diagrama de Nyquist", None))
        self.labelFmaxNyq.setText(_translate("MainWindow", "Freq. máxima:", None))
        self.doubleSpinFmaxNyq.setToolTip(_translate("MainWindow", "Entre com a frequência máxima para o cálculo do diagrama de Nyquist", None))
        self.labelNyqRes.setText(_translate("MainWindow", "Resolução:", None))
        self.doubleSpinNyqRes.setToolTip(_translate("MainWindow", "Entre com o número de pontos por década para o traçado do diagrama de Nyquist", None))
        self.checkBoxNyqCirc.setToolTip(_translate("MainWindow", "Selecione para traçar u círculo de raio 1 centrado na origem", None))
        self.checkBoxNyqCirc.setText(_translate("MainWindow", "Círculo 1", None))
        self.checkBoxNyqNegFreq.setToolTip(_translate("MainWindow", "Selecione para traçar também o diagrama para frequências negativas", None))
        self.checkBoxNyqNegFreq.setText(_translate("MainWindow", "Freq. negativa", None))
        self.btnPlotNyquist.setToolTip(_translate("MainWindow", "Traçar o Diagrama de Nyquist", None))
        self.btnPlotNyquist.setText(_translate("MainWindow", "Traçar Nyquist", None))
        self.btnClearNyquist.setToolTip(_translate("MainWindow", "Limpar a área do gráfico", None))
        self.btnClearNyquist.setText(_translate("MainWindow", "Limpar", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabNiquist), _translate("MainWindow", "Diagrama de Nyquist", None))
        self.tabInfo.setToolTip(_translate("MainWindow", "Mostra informações sobre o sistema LIT", None))
        self.labelInfoCLpoles.setText(_translate("MainWindow", "Pólos em malha fechada:", None))
        self.labelInfoOLpoles.setText(_translate("MainWindow", "Pólos em malha aberta:", None))
        self.labelInfoOLzeros.setText(_translate("MainWindow", "Zeros em malha aberta:", None))
        self.labelInfoRLpoints.setText(_translate("MainWindow", "Pontos de separação LGR:", None))
        self.label.setText(_translate("MainWindow", "Esta tela ainda não está implementada!", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabInfo), _translate("MainWindow", "SisInfo", None))
        self.toolBar.setWindowTitle(_translate("MainWindow", "toolBar", None))
        self.actionSalvar_sistema.setText(_translate("MainWindow", "Salvar sistema", None))
        self.actionCarregar_sistema.setText(_translate("MainWindow", "Carregar sistema", None))
        self.actionCalc.setText(_translate("MainWindow", "calculadora", None))
        self.actionCalc.setToolTip(_translate("MainWindow", "Executa a calculadora do sistema", None))
        self.actionConfig.setText(_translate("MainWindow", "Configurações", None))
        self.actionConfig.setToolTip(_translate("MainWindow", "Abre opções de configuração.", None))
        self.actionHelp.setText(_translate("MainWindow", "Ajuda", None))
        self.actionHelp.setToolTip(_translate("MainWindow", "Mostra conteúdo de ajuda", None))
        self.actionClose.setText(_translate("MainWindow", "Fechar", None))
        self.actionClose.setToolTip(_translate("MainWindow", "Fechar o programa.", None))
        self.actionReset.setText(_translate("MainWindow", "Resetar systema", None))
        self.actionReset.setToolTip(_translate("MainWindow", "<html><head/><body><p>Resetar o sistema para o <span style=\" font-style:italic;\">default</span></p></body></html>", None))

from matplotlibwidget import MatplotlibWidget

if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    MainWindow = QtGui.QMainWindow()
    ui = Ui_MainWindow()
    ui.setupUi(MainWindow)
    MainWindow.show()
    sys.exit(app.exec_())

